package com.beyond.common

import android.app.Application
import android.content.ContentProvider
import android.content.ContentValues
import android.content.Context
import android.database.Cursor
import android.net.Uri
import androidx.startup.Initializer
import com.beyond.common.util.AppUtils
import com.beyond.common.util.SpUtil

/**
 * @author chen
 * @time 2023/5/31 10:34
 * @name UtilInitializer.kt
 * @class 自动初始化util 方法
 */
class UtilInitializer : Initializer<Unit> {
    override fun create(context: Context) {
        AppUtils.init(context.applicationContext as Application)
    }

    override fun dependencies(): List<Class<out Initializer<*>>> {
        return emptyList()
    }
}
